projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191b9d8
)
statusicon: plug memory leak
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 9 Dec 2015 18:45:26 +0000
(10:45 -0800)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 9 Dec 2015 18:45:26 +0000
(10:45 -0800)
gtk/deprecated/gtkstatusicon.c
patch
|
blob
|
history
diff --git
a/gtk/deprecated/gtkstatusicon.c
b/gtk/deprecated/gtkstatusicon.c
index b46dfcc7a98b579b2ddf044ad9c545b1c91acf84..e3849746625cffcfab8e287b77f944ef29ce8dff 100644
(file)
--- a/
gtk/deprecated/gtkstatusicon.c
+++ b/
gtk/deprecated/gtkstatusicon.c
@@
-1400,6
+1400,7
@@
gtk_status_icon_update_image (GtkStatusIcon *status_icon)
surface = gtk_icon_helper_load_surface (icon_helper, 1);
pixbuf = gdk_pixbuf_get_from_surface (surface, 0, 0, round_size, round_size);
cairo_surface_destroy (surface);
+ g_object_unref (icon_helper);
if (pixbuf != NULL)
{